<template>
  <component v-if="cpt" :is="cpt"></component>
</template>

<script>
export default {
  data() {
    return {
      cpt: ''
    }
  },
  created() {
    this.cpt = this.$route.params.route
  },
  watch: {
    // ''
  }
}
</script>

<style></style>
